package com.yonyou.cyxdms.basedata.service.feign;


import com.yonyou.cyxdms.basedata.service.dto.HasStockDTO;
import com.yonyou.cyxdms.basedata.service.dto.dmsFeign.ResponseDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @Description:
 * @Author: shijiyang
 * @Date: 2022/7/25 20:05
 */
@FeignClient(value = "wholesales-service")
public interface WholeSalesClient {
    //下发车辆配置信息
    @PostMapping("/vehicle/getHasStock")
    ResponseDTO<List<HasStockDTO>> getHasStock(@RequestBody List<String> productCodeList);
}
